<template>
  <div class="app-container">
    <eHeader :query="query" />
    <div :style="{height: '350px', width: '100%'}">
      <img :src="this.imageUrl" width="100%" alt="">
    </div>
  </div>
</template>

<script>
import checkPermission from '@/utils/permission'
import initData from '@/mixins/initData'
import eHeader from './module/header'
export default {
  components: { eHeader },
  mixins: [initData],
  data() {
    return {
      delLoading: false,
      supThis: this,
      graphId: 0,
      imageUrl: '/web/zabbix/graph/image'
    }
  },
  created() {
  },
  methods: {
    checkPermission,
    getImage(imageId) {
      console.log('=================enter', imageId)
      this.graphId = imageId
      this.imageUrl = process.env.VUE_APP_BASE_API + '/web/zabbix/graph/image?' + 'graphId=' + imageId
    }
  }
}
</script>

<style scoped>

</style>
